/**
 * Created by Administrator on 2017/4/20.
 */


var Poker = require('../Poker/Poker');

var Pattern = {
    'SINGLE': 1 ,       //单牌
    'SPEC_BOMB': 13 ,     //特殊炸
    'PAIR': 2 ,         //对子
    'RUN': 3 ,          //顺子
    'PAIRS': 4,         //连对
    'TRIPLE' : 5,       //三条
    'TRIPLE_ONE' : 6,   //三带一
    'TRIPLE_PAIR' : 7,   //三带二
    'RUN_TRIPLE' : 8,   //三顺
    'AIRPLANE' : 9,   //飞机
    'AIRPLANE_TWO' : 10,   //飞机
    'FOUR_TWO' : 11,     //四带二
    'FOUR_TWO_PAIR' : 12,     //四带二对
    'BOMB': 14 ,         //炸弹
    'KING_BOMB': 15 ,   //王炸
};

var PatternScore = {};

var Status = {
    'NONE': 0,      //没有
    'JIAO' : 1,     //选择叫地主
    'TI' : 2,       //选择踢
    'GEN' : 3,      //选择跟
    'HUI' : 4,      //选择回
    'CHU' : 5,     //出牌
};
var PlayerStatus = {
    NONE: 0,
    CHU: 9,
    BUCHU:10,
    JIAO: 11,
    BUJIAO: 12,
    TI: 13,
    BUTI: 14,
    GEN: 15,
    BUGEN: 16,
    HUI: 17,
    BUHUI: 18
};
var specBomb = {
    'THREE': 2,         //三弹
    'TWO': 3,         //二弹
    //'JOKER': 233,         //王炸
};

exports.Pattern = Pattern;
//exports.Cost = Cost;
exports.specBomb = specBomb;
exports.Status = Status;
exports.PatternScore = PatternScore;
exports.PlayerStatus = PlayerStatus;

